From 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Thu, 10 Oct 2024 21:51:10 -0400
Subject: Hoist the UI one step up further

---
 ui/src/routes/(app)/ch/[channel]/+page.svelte | 17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100644 ui/src/routes/(app)/ch/[channel]/+page.svelte

(limited to 'ui/src/routes/(app)/ch/[channel]/+page.svelte')

diff --git a/ui/src/routes/(app)/ch/[channel]/+page.svelte b/ui/src/routes/(app)/ch/[channel]/+page.svelte
deleted file mode 100644
index ef439d0..0000000
--- a/ui/src/routes/(app)/ch/[channel]/+page.svelte
+++ /dev/null
@@ -1,17 +0,0 @@
-<script>
-    import { afterNavigate } from '$app/navigation';
-    import { page } from '$app/stores';
-
-    import { activeChannel } from '$lib/store';
-    import ActiveChannel from '$lib/components/ActiveChannel.svelte';
-
-    afterNavigate(async () => {
-        let { channel } = $page.params;
-        activeChannel.update((value) => {
-            value.set(channel)
-            return value;
-        });
-    });
-</script>
-
-<ActiveChannel />
-- 
cgit v1.2.3

